<?xml version="1.0" encoding="UTF-8"?>
<!-- This log4j configuration file needs to stay here, and is used as the default logging setup -->
<!-- during data_dir upgrades and in case the chosen logging config isn't available.            -->
<Configuration name="main-tests" status="error" dest="out">
    <CustomLevels>
        <CustomLevel name="CONFIG" intLevel="450" />
        <CustomLevel name="FINEST" intLevel="700" />
    </CustomLevels>
    <Appenders>
        <Console name="stdout" target="SYSTEM_OUT">
            <PatternLayout pattern="%date{HH:mm:ss} %-6level [%logger{2}] - %msg%n%throwable"/>
        </Console>
    </Appenders>
    <Loggers>
        <Logger name="org.geotools" level="warn" additivity="false">
            <AppenderRef ref="stdout"/>
        </Logger>
        <Logger name="org.geotools.factory" level="warn" additivity="false">
            <AppenderRef ref="stdout"/>
        </Logger>

        <Logger name="org.geoserver" level="config" additivity="false">
            <AppenderRef ref="stdout"/>
        </Logger>
        <Logger name="org.vfny.geoserver" level="config" additivity="false">
            <AppenderRef ref="stdout"/>
        </Logger>

        <Logger name="org.springframework" level="warn" additivity="false">
            <AppenderRef ref="stdout"/>
        </Logger>

        <Logger name="org.geowebcache" level="config" additivity="false">
            <AppenderRef ref="stdout"/>
        </Logger>
        <Logger name="org.geowebcache.seed" level="warn" additivity="false">
            <AppenderRef ref="stdout"/>
        </Logger>

        <Root level="warn">
            <AppenderRef ref="stdout"/>
        </Root>
    </Loggers>
</Configuration>